package com.yonyou.crm.sys.role.rmimpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.yonyou.crm.sys.role.entity.FuncresourceVO;
import com.yonyou.crm.sys.role.entity.FunctionVO;
import com.yonyou.crm.sys.role.entity.RoleFuncPerVO;
import com.yonyou.crm.sys.role.rmitf.IFuctionRmService;
import com.yonyou.crm.sys.role.service.FunctionBizServiceImpl;
@Service("functionDubboxProvider")
public class FunctionRmServiceImpl implements IFuctionRmService{
	@Autowired
	private FunctionBizServiceImpl  functionBizServiceImpl;
	
	@Override
	public List<FunctionVO> getFunctiuonList(Long roleId) {
		return functionBizServiceImpl.getFunctionList(roleId);
	}
		

	@Override
	public List<FuncresourceVO> getUnhaveFuncResourceList(long roleId) {
		return functionBizServiceImpl.getUnhaveFuncResourceList(roleId);
	}

	@Override
	public void assignFuncPer(List<RoleFuncPerVO> roleFuncPerVOs, String checked) {
		functionBizServiceImpl.assignFuncPer(roleFuncPerVOs,checked);
	}


}
